package com.challenger.teacher.services;

import java.util.List;

import com.challenger.teacher.entity.Teacher;
import com.challenger.teacher.entity.TeacherUsr;
/**
 * 教师业务访问接口
 * @author 古振猛 404879269@qq.com
 *
 */
public interface TeacherService {

	List<Teacher> login(String userName, String passwd);

	List<Teacher> findTeacherByIdnumber(String idnumber);

	int insertTeacher(Teacher teacher, TeacherUsr teacherUsr);

	int updateTeacher(Teacher teacher, TeacherUsr teacherUsr);

	Teacher findTeacherByInrid(int inrid);

}
